package com.ming.demo.easyiot;

import android.app.Application;

import org.litepal.LitePal;
import org.litepal.LitePalApplication;

import cn.wch.ch34xuartdriver.CH34xUARTDriver;

/**
 * Created by Administrator on 2018/1/4.
 */

public class MyApp extends LitePalApplication {
    public static CH34xUARTDriver driver;// 需要将CH34x的驱动类写在APP类下面，使得帮助类的生命周期与整个应用程序的生命周期是相同的

    @Override
    public void onCreate() {
        super.onCreate();
        LitePal.initialize(this);
        CrashHandler crashHandler = CrashHandler.getInstance();
//        crashHandler.init(getApplicationContext());
    }
}